public function testInvalidType() { RelayMutation::buildMutation('ship', ['name' => new StringType()], new IntType(), function ($source, $args, $info) { }); }