function it_should_parse_required_attributes_for_an_object() { $this->beConstructedWith(__DIR__ . '/../../../resources/schema'); $this->parse('example', 'user')->getRequiredAttributes()->shouldBeEqualTo(['username', 'password']); }