1 package gr.grnet.aquarium.user
7 * @author Georgios Gousios <gousiosg@gmail.com>
13 def testUserStateSerialization = {
14 val now = System.currentTimeMillis()
15 val state = UserState(
22 ActiveSuspendedSnapshot(true, now),
23 CreditSnapshot(0, now),
24 AgreementSnapshot(Agreement("default", now, now) :: Nil, now),
25 RolesSnapshot(Nil, now),
26 OwnedResourcesSnapshot(ResourceInstanceSnapshot("foo", "1", 0.1F, 1) :: Nil, now)
29 //val json = state.toJson