Package com.getperka.flatpack

Examples of com.getperka.flatpack.BaseHasUuid


    assertEquals("Hello World!", codex.read(new JsonPrimitive("Hello World!"), ctx));

    UUID uuid = UUID.randomUUID();
    assertEquals(uuid.toString(), codex.read(new JsonPrimitive(uuid.toString()), ctx));

    HasUuid entity = new BaseHasUuid();
    ctx.putEntity(uuid, entity, EntitySource.RESOLVED);
    assertSame(entity, codex.read(new JsonPrimitive(uuid.toString()), ctx));
  }
View Full Code Here

TOP

Related Classes of com.getperka.flatpack.BaseHasUuid

Copyright © 2018 www.massapicom. 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.