Examples of configureSnapshotSerializer()


Examples of org.prevayler.PrevaylerFactory.configureSnapshotSerializer()

  }

  public void testBadSuffix() {
    PrevaylerFactory factory = new PrevaylerFactory();
    try {
      factory.configureSnapshotSerializer("SNAPSHOT", new JavaSerializer());
      fail();
    } catch (IllegalArgumentException exception) {
      assertEquals("Snapshot filename suffix must match /[a-zA-Z0-9]*[Ss]napshot/, but 'SNAPSHOT' does not", exception.getMessage());
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.