public function testAroundExecuteWhenStoreIsActive() { $this->_storeMock->expects($this->any())->method('isActive')->will($this->returnValue(true)); $this->assertEquals( 'Expected', $this->_plugin->aroundExecute($this->subjectMock, $this->closureMock, $this->requestMock) ); }