@@ -0,0 +1,767 @@
+package devopsdistilled.operp.server.data.entities;%0A%0Aimport javax.inject.Inject;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.springframework.test.context.ContextConfiguration;%0Aimport org.springframework.test.context.junit4.SpringJUnit4ClassRunner;%0Aimport org.springframework.transaction.annotation.Transactional;%0A%0Aimport devopsdistilled.operp.server.context.JpaH2TestContext;%0Aimport devopsdistilled.operp.server.data.repo.ProductRepository;%0A%0A@RunWith(SpringJUnit4ClassRunner.class)%0A@ContextConfiguration(classes = JpaH2TestContext.class)%0A@Transactional%0Apublic class ProductTest %7B%0A%0A%09@Inject%0A%09private ProductRepository productRepository;%0A%0A%09@Test%0A%09public void test() %7B%0A%09%09Assert.assertNotNull(productRepository);%0A%09%09%0A%09%7D%0A%0A%7D%0A

Add Test to test Product