public function testThrowsExceptionOnNonObjectValues($methodName) { $this->dm->{$methodName}(null); }