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