protected function getTypeAsserter() { return $this->generator->__call('phpString', array(get_resource_type($this->valueIsSet()->value))); }