@@ -0,0 +1,1041 @@
+package com.ims.test;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Aimport org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.test.context.ContextConfiguration;%0Aimport org.springframework.test.context.junit4.SpringJUnit4ClassRunner;%0A%0Aimport com.ims.domain.PurchaseOrder;%0Aimport com.ims.logic.PurchaseOrderLogic;%0A%0A@RunWith(SpringJUnit4ClassRunner.class)%0A@ContextConfiguration(locations = %7B%22file:src/main/webapp/WEB-INF/beans.xml%22%7D)%0Apublic class PurchaseOrderLogicTest %7B%0A%0A%09@Autowired%0A%09private PurchaseOrderLogic poLogic;%0A%09%0A%09@Test%0A%09public void testGetPurchaseOrder()%7B%0A%09%09assertEquals(%22PurchaseOrder %5Bid=104, purchaseDate=2017-02-08, supplier=Supplier %22%0A%09%09%09%09+ %22%5Bid=100, name=TestSupplier, address=%5Bstreet=24916 Square Street, city=Pheonix, state=AZ, zip=85203%5D%5D, retailer=Retailer %22%0A%09%09%09%09+ %22%5Bid=1, name=Lenore Fuentes, address=%5Bstreet=248 Powers Street, city=Mesa, state=AZ, zip=85206%5D%5D, cost=50.0%5D%22, %0A%09%09%09%09poLogic.getPurchaseOrder(104).toString());%0A%09%7D%0A%09%0A%09%0A%7D%0A

create PurchaseOrderLogicTest file