+ whenever(core.getPost(anyString())).thenReturn(absent())
+ whenever(core.getPostReply(anyString())).thenReturn(absent())
+ }
+
+ protected fun executeCommandAndExpectFcpException() {
+ expectedException.expect(FcpException::class.java)
+ command.execute(parameters)