function it_has_types() { $types = $this->getTypes(); $types[0]->shouldReturnAnInstanceOf(Type::class); $types[0]->getXsdName()->shouldBe('type1'); }