@BeforeClass annotation and made setUp() method static

This commit is contained in:
Chris Anatalio 2016-10-13 07:54:58 -07:00 committed by GitHub
parent 2693991c1b
commit e95d1e2908

View File

@ -48,9 +48,9 @@ public class ProductInfoRepositoryIntegrationTest {
private static final String EXPECTED_COST = "20";
private static final String EXPECTED_PRICE = "50";
@Before
@BeforeClass
@Ignore
public void setUp() throws Exception {
public static void setUp() throws Exception {
try {
dynamoDBMapper = new DynamoDBMapper(amazonDynamoDB);