@@ -0,0 +1,2155 @@
+/*%0A * This program was produced for the U.S. Agency for International Development. It was prepared by the USAID %7C DELIVER PROJECT, Task Order 4. It is part of a project which utilizes code originally licensed under the terms of the Mozilla Public License (MPL) v2 and therefore is licensed under MPL v2 or later.%0A *%0A * This program is free software: you can redistribute it and/or modify it under the terms of the Mozilla Public License as published by the Mozilla Foundation, either version 2 of the License, or (at your option) any later version.%0A *%0A * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Mozilla Public License for more details.%0A *%0A * You should have received a copy of the Mozilla Public License along with this program. If not, see http://www.mozilla.org/MPL/%0A */%0A%0Apackage org.openlmis.equipment.repository.mapper;%0A%0Aimport org.junit.Test;%0Aimport org.junit.experimental.categories.Category;%0Aimport org.junit.runner.RunWith;%0Aimport org.openlmis.db.categories.IntegrationTests;%0Aimport org.openlmis.equipment.domain.EquipmentOperationalStatus;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.test.context.ContextConfiguration;%0Aimport org.springframework.test.context.junit4.SpringJUnit4ClassRunner;%0Aimport org.springframework.test.context.transaction.TransactionConfiguration;%0Aimport org.springframework.transaction.annotation.Transactional;%0A%0Aimport java.util.List;%0A%0Aimport static org.junit.Assert.*;%0A%0A@Category(IntegrationTests.class)%0A@RunWith(SpringJUnit4ClassRunner.class)%0A@ContextConfiguration(locations = %22classpath*:test-applicationContext-equipment.xml%22)%0A@Transactional%0A@TransactionConfiguration(defaultRollback = true, transactionManager = %22openLmisTransactionManager%22)%0Apublic class EquipmentOperationalStatusMapperIT %7B%0A%0A  @Autowired%0A  private EquipmentOperationalStatusMapper mapper;%0A%0A  @Test%0A  public void testGetAll() throws Exception %7B%0A    List%3CEquipmentOperationalStatus%3E statusList = mapper.getAll();%0A    assertEquals(3, statusList.size());%0A  %7D%0A%7D

Create an integration test for Equipment Operational Status Mapper