function testFind()
 {
     $user = new TestUser();
     $data = $user->findBy('name', 'haakon');
     $this->assertEqual(SimpleDbAdapterWrapper::$adapter->lastSQL(), 'SELECT * FROM users WHERE name = \'haakon\'');
 }