Ejemplo n.º 1
0
 public function testArrayResultIsComplete()
 {
     $array = $this->object->invoke($this->getContainer());
     $this->assertTrue(is_array($array));
     $this->assertArrayHasKey('property', $array);
     $this->assertArrayHasKey('reference', $array);
     $this->assertArrayHasKey('testArg', $array);
     $this->assertEquals('testPropertyOk', $array['property']);
     $this->assertEquals('testReferenceOk', $array['reference']);
     $this->assertEquals('normalString', $array['testArg']);
 }