...
|
...
|
@@ -22,7 +22,14 @@ public class SellerServiceTest extends BaseWebTest { |
|
|
//exit entry
|
|
|
Assert.assertEquals(sellerService.getEntrySellerType(500031990), EntrySellerType.NOT_ENTRY);
|
|
|
Assert.assertEquals(sellerService.getEntrySellerType(500031424), EntrySellerType.COMMON);
|
|
|
Assert.assertEquals(sellerService.getEntrySellerType(666666), EntrySellerType.SUPER_ENTRY);
|
|
|
Assert.assertEquals(sellerService.getEntrySellerType(50000638), EntrySellerType.SUPER_ENTRY);
|
|
|
Assert.assertEquals(sellerService.getEntrySellerType(600033430), EntrySellerType.SPECIAL_SUPER);
|
|
|
}
|
|
|
|
|
|
@Test
|
|
|
public void testIsSuperEntrySeller(){
|
|
|
int uid = 50000638;
|
|
|
Assert.assertEquals(true, sellerService.isSuperEntrySeller(uid));
|
|
|
|
|
|
}
|
|
|
} |
...
|
...
|
|