Ejemplo n.º 1
0
 /** @test */
 public function it_works_with_two_collaborators_by_contract()
 {
     $client = new ClientObject("Client Name", new Assignment(ModelA::class, ProductA::class), new Assignment(ModelB::class, PartB::class));
     $test = new TestIdentity();
     $this->assertTrue($client->productA()->identification()['number'] == $test->id());
     $this->assertTrue($client->partB()->number() == $test->id());
 }