public function getDescription() { return 'This is product,'; }
/** * @test */ public function getShouldInvokeMethod() { //given $product = new Product(array()); //when $description = $product->get('getDescription()'); //then $this->assertEquals($product->getDescription(), $description); }