/**
  * @expectedException \hollodotme\MilestonES\Exceptions\SerializationContractIsNotRegistered
  */
 public function testGetSerializerForContractFailsWhenContractIsNotRegistered()
 {
     $registry = new SerializerRegistry();
     $registry->getSerializerForContract(new Contract('Some\\Contract'));
 }
 /**
  * @param Contract $contract
  *
  * @throws Exceptions\SerializationContractIsNotRegistered
  * @return Interfaces\SerializesData
  */
 public function getSerializerForContract(Contract $contract)
 {
     return $this->registry->getSerializerForContract($contract);
 }