public function testPropertyIssetEmpty() {
$entity = new Entity(array(
'model' => 'Foo',
'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->assertTrue(isset($entity->test_field));
$this->assertTrue(isset($entity->test_relationship));
$this->assertFalse(empty($entity->test_field));
$this->assertFalse(empty($entity->test_relationship));
$this->assertTrue(empty($entity->test_invisible_field));
$this->assertTrue(empty($entity->test_invisible_relationship));
}