public function testExceptionWhenUnregisteredTypeUsed()
 {
     $msg = 'Cannot handle value of type "Admin" since there is no registered type with that name';
     $this->setExpectedException('Wookieb\\ZorroDataSchema\\Exception\\InvalidValueException', $msg);
     $this->object->create(array('__type' => 'Admin', 'data' => array()));
 }