function it_should_write_the_content_after_the_last_method() { $class = $this->getSingleMethodClass(); $method = $this->getMethod(); $result = $this->getClassWithNewMethodLast(); $this->insertMethodLastInClass($class, $method)->shouldReturn($result); }