function testSchemaPartialTarget() { $check = new \Fulfil\Schema(['props' => ['a' => new \Fulfil\Check\Date(), 'b' => new \Fulfil\Check\Date()]]); $partial = $check->partial(['c' => 'a', 'd' => 'b']); $this->assertEquals(['c', 'd'], array_keys($partial->props)); $this->assertSame($check->props['a'], $partial->props['c']); $this->assertSame($check->props['b'], $partial->props['d']); }