(t *testing.T)
| 257 | } |
| 258 | |
| 259 | func TestActiveRecord(t *testing.T) { |
| 260 | db := &DBStub{} |
| 261 | a := NewActRec(db) |
| 262 | a.Id = 999 |
| 263 | |
| 264 | if a.Exists() { |
| 265 | t.Errorf("Expected record to be absent.") |
| 266 | } |
| 267 | } |
| 268 | |
| 269 | func squirrelFixture() (*DBStub, squirrel.StatementBuilderType) { |
| 270 |