mirror of
https://github.com/ClaytonWWilson/Listify.git
synced 2025-12-13 09:48:47 +00:00
ListDuplicate tests added
This commit is contained in:
parent
4b1f06cdcd
commit
0c3839cec3
@ -9,15 +9,15 @@ public class TestListDuplicate {
|
||||
|
||||
@Test
|
||||
public void testListEntryAdderValid() {
|
||||
testListEntryAdderCoreMock(false);
|
||||
testListDuplicaterMock(false);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testListEntryAdderError() {
|
||||
testListEntryAdderCoreMock(true);
|
||||
testListDuplicaterMock(true);
|
||||
}
|
||||
|
||||
public void testListEntryAdderCoreMock(boolean shouldThrow) {
|
||||
public void testListDuplicaterMock(boolean shouldThrow) {
|
||||
StatementInjector injector;
|
||||
try {
|
||||
injector = new StatementInjector(null, null, shouldThrow);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user