/** * Test if a method is not transient. */ public function testIsTransientFalse() { $reflectedMethod = new MethodReflection('TRex\\Reflection\\resources\\Bar', 'getBar'); $this->assertFalse($reflectedMethod->isTransient()); }