PhproTest\SoapClient\Unit\CodeGenerator\Assembler\InterfaceAssemblerTest::it_can_assemble_property_context PHP Метод

it_can_assemble_property_context() публичный Метод

    function it_can_assemble_property_context()
    {
        $assembler = new InterfaceAssembler('MyUsedClass');
        $class = new ClassGenerator('MyType', 'MyNamespace');
        $type = new Type('MyNamespace', 'MyType', []);
        $property = new Property('prop1', 'string');
        $context = new PropertyContext($class, $type, $property);
        $this->assertTrue($assembler->canAssemble($context));
    }