예제 #1
0
 public MockDsl send(AbstractDecoratedProtocolMessage protocol) {
   mockery.send(protocol.getProtocol(), getQualifiedName());
   return this;
 }
예제 #2
0
 public MockDsl expects(AbstractDecoratedProtocolMessage... protocols) {
   for (AbstractDecoratedProtocolMessage p : protocols) {
     mockery.expect(Expr.create(p.toString()), getQualifiedName());
   }
   return this;
 }