public void testServer() {
    OperationException oe = new OperationException(OperationErrorType.SERVER,
        "SERVER_ERROR figures");
    assertSame(OperationErrorType.SERVER, oe.getType());
    assertEquals("OperationException: SERVER: SERVER_ERROR figures",
        String.valueOf(oe));
  }
Test operation exception constructors and accessors and stuff.
src/test/java/net/spy/memcached/protocol/ascii/OperationExceptionTest.java