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