@@ -0,0 +1,1758 @@
+package net.davidvoid.thor.lightning.data.access;%0A%0Aimport com.mongodb.DBCollection;%0Aimport net.davidvoid.thor.lightning.config.RootConfig;%0Aimport net.davidvoid.thor.lightning.data.source.MongoDataSource;%0Aimport net.davidvoid.thor.lightning.entity.User;%0Aimport org.junit.After;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.test.context.ActiveProfiles;%0Aimport org.springframework.test.context.ContextConfiguration;%0Aimport org.springframework.test.context.junit4.SpringJUnit4ClassRunner;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0A/**%0A * Created by david on 3/22/16.%0A */%0A@RunWith(SpringJUnit4ClassRunner.class)%0A@ActiveProfiles(%22test%22)%0A@ContextConfiguration(classes = %7BRootConfig.class%7D)%0Apublic class UserStoreTest %7B%0A%0A    @Autowired%0A    MongoDataSource source = null;%0A%0A    @Autowired%0A    UserStore store = null;%0A%0A    @Before%0A    public void setUp() throws Exception %7B%0A%0A    %7D%0A%0A    @After%0A    public void tearDown() throws Exception %7B%0A%0A    %7D%0A%0A    @Test%0A    public void testGetByName() throws Exception %7B%0A    %7D%0A%0A    @Test%0A    public void testGetById() throws Exception %7B%0A%0A    %7D%0A%0A    @Test%0A    public void testAdd() throws Exception %7B%0A        User user = new User();%0A        user.setName(%22david%22);%0A        user.setPassword(%22123%22);%0A        store.add(user);%0A%0A        user = new User();%0A        user.setName(%22kevin%22);%0A        user.setPassword(%22456%22);%0A        store.add(user);%0A%0A        DBCollection collection = source.getDatabase().getCollection(%22user%22);%0A        assertEquals(2, collection.count());%0A    %7D%0A%0A    @Test%0A    public void testDelete() throws Exception %7B%0A%0A    %7D%0A%0A    @Test%0A    public void testUpdate() throws Exception %7B%0A%0A    %7D%0A%7D

add a small unit test to see if fogno works