public function testPropertyIssetEmpty()
{
$entity = new Entity(array('model' => 'lithium\\tests\\mocks\\data\\MockPost', 'exists' => true, 'data' => array('test_field' => 'foo'), 'relationships' => array('test_relationship' => array('test_me' => 'bar'))));
$this->assertEqual('foo', $entity->test_field);
$this->assertEqual(array('test_me' => 'bar'), $entity->test_relationship);
$this->assertFalse(isset($entity->field));
$this->assertTrue(isset($entity->test_relationship));
$this->assertNotEmpty($entity->test_field);
$this->assertNotEmpty($entity->test_relationship);
$this->assertEmpty($entity->test_invisible_field);
$this->assertEmpty($entity->test_invisible_relationship);
}