package net.davidvoid.thor.lightning.data.source;

import org.springframework.context.annotation.Configuration;

@Configuration
public class DataSourceConfig {

}

@@ -96,73 +96,313 @@
 ion.
-Configuration;%0D%0A%0D%0A@Configuration%0D%0Apublic class DataSourceConfig %7B
+Bean;%0D%0Aimport org.springframework.context.annotation.Configuration;%0D%0Aimport org.springframework.context.annotation.Profile;%0D%0A%0D%0A@Configuration%0D%0Apublic class DataSourceConfig %7B%0D%0A%0D%0A    @Bean%0D%0A    @Profile(%22test%22)%0D%0A    public MongoDataSource createUnitTest() %7B%0D%0A        return new UnitTestDataSource();%0D%0A    %7D
 %0D%0A%0D%0A

define a data store for unit test