public function test_it_gets_errors() { $this->validator->getErrors()->shouldBeCalled()->willReturn([]); $this->assertEquals([], $this->schema->getErrors()); }