Updated Test method name
This commit is contained in:
parent
6460e73eb6
commit
7070aae38f
|
@ -16,11 +16,11 @@ public class FindItemsBasedOnValues {
|
||||||
|
|
||||||
public static void main(String[] args) throws ParseException {
|
public static void main(String[] args) throws ParseException {
|
||||||
FindItemsBasedOnValues findItems = new FindItemsBasedOnValues();
|
FindItemsBasedOnValues findItems = new FindItemsBasedOnValues();
|
||||||
findItems.findItemsImpl();
|
findItems.givenListOfCompanies_thenListOfClientsIsFilteredCorrectly();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void findItemsImpl() throws ParseException {
|
public void givenListOfCompanies_thenListOfClientsIsFilteredCorrectly() throws ParseException {
|
||||||
List<Client> expectedList = new ArrayList<Client>();
|
List<Client> expectedList = new ArrayList<Client>();
|
||||||
Client expectedClient = new Client(1001, DATE_FORMAT.parse("01-02-2018"));
|
Client expectedClient = new Client(1001, DATE_FORMAT.parse("01-02-2018"));
|
||||||
expectedList.add(expectedClient);
|
expectedList.add(expectedClient);
|
||||||
|
|
Loading…
Reference in New Issue