@@ -0,0 +1,948 @@
+package com.growthbeat.model;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertNotNull;%0Aimport static org.junit.Assert.fail;%0A%0Aimport org.junit.Test;%0A%0Aimport com.growthbeat.BaseTest;%0Aimport com.growthbeat.GrowthbeatException;%0A%0Apublic class SessionTest extends BaseTest %7B%0A%0A%09@Test%0A%09public void findById() %7B%0A%09%09Session session = Session.findById(testSession.getId(), testCredential.getId());%0A%09%09assertEquals(testSession.getId(), session.getId());%0A%09%7D%0A%0A%09@Test%0A%09public void create() %7B%0A%09%09Session session = Session.create(testAccount.getId(), SERVICE_ID, testCredential.getId());%0A%09%09assertNotNull(session);%0A%09%09assertNotNull(session.getId());%0A%09%09assertEquals(testAccount.getId(), session.getAccount().getId());%0A%09%09assertEquals(SERVICE_ID, session.getService().getId());%0A%09%7D%0A%0A%09@Test%0A%09public void deleteById() %7B%0A%09%09try %7B%0A%09%09%09Session.deleteById(%22Dummy%22, testCredential.getId());%0A%09%09%09fail();%0A%09%09%7D catch (GrowthbeatException e) %7B%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Add test of Session model