// Path: main-kata/src/main/java/kata/domain/Customer.java
// public class Customer
//         extends CustomerAbstract
// {
// 	public Customer()
// 	{
// 		super();
// 		// You must not modify this constructor. Mithra calls this internally.
// 		// You can call this constructor. You can also add new constructors.
// 	}
// 
//     // Added as a convenience, particularly for ExercisesCrud questions 4, 7, & 8
// 	public Customer(final String name, final String country)
// 	{
// 		this();
// 		this.setName(name);
//         this.setCountry(country);
// 	}
// 
//     @Override
//     public String toString()
//     {
//         return "Customer[id=" + this.getCustomerId() + "; name=" + this.getName() + "; country=" + this.getCountry() + ']';
//     }
// }
// 
// Path: main-kata/src/main/java/kata/domain/CustomerList.java
// public class CustomerList
//         extends CustomerListAbstract
// {
// 	public CustomerList()
// 	{
// 		super();
// 	}
// 
// 	public CustomerList(int initialSize)
// 	{
// 		super(initialSize);
// 	}
// 
// 	public CustomerList(Collection c)
// 	{
// 		super(c);
// 	}
// 
// 	public CustomerList(Operation operation)
// 	{
// 		super(operation);
// 	}
// }


import org.eclipse.collections.api.list.MutableList;
import org.eclipse.collections.api.set.primitive.IntSet;
import org.eclipse.collections.api.tuple.Pair;
import org.eclipse.collections.impl.factory.primitive.IntSets;
import org.eclipse.collections.impl.list.mutable.FastList;
import org.eclipse.collections.impl.test.Verify;
import org.eclipse.collections.impl.tuple.Tuples;
import com.gs.fw.common.mithra.MithraManager;
import kata.domain.Customer;
import kata.domain.CustomerFinder;
import kata.domain.CustomerList;
import org.junit.Assert;
import org.junit.Test;
/*
 Copyright 2018 Goldman Sachs.
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 KIND, either express or implied. See the License for the
 specific language governing permissions and limitations
 under the License.
 */

package kata.test;


public class ExercisesCrud
        extends AbstractMithraTest
{
    @Override
    protected String[] getTestDataFilenames()
    {
        return new String[]{"testdata/data_Customer.txt"}; // Look into this file to see the test data being used
    }

//-------------- Question 1 ------------------------------------------------------
// Get customer with a particular ID.

// Path: main-kata/src/main/java/kata/domain/Customer.java
// public class Customer
//         extends CustomerAbstract
// {
// 	public Customer()
// 	{
// 		super();
// 		// You must not modify this constructor. Mithra calls this internally.
// 		// You can call this constructor. You can also add new constructors.
// 	}
// 
//     // Added as a convenience, particularly for ExercisesCrud questions 4, 7, & 8
// 	public Customer(final String name, final String country)
// 	{
// 		this();
// 		this.setName(name);
//         this.setCountry(country);
// 	}
// 
//     @Override
//     public String toString()
//     {
//         return "Customer[id=" + this.getCustomerId() + "; name=" + this.getName() + "; country=" + this.getCountry() + ']';
//     }
// }
// 
// Path: main-kata/src/main/java/kata/domain/CustomerList.java
// public class CustomerList
//         extends CustomerListAbstract
// {
// 	public CustomerList()
// 	{
// 		super();
// 	}
// 
// 	public CustomerList(int initialSize)
// 	{
// 		super(initialSize);
// 	}
// 
// 	public CustomerList(Collection c)
// 	{
// 		super(c);
// 	}
// 
// 	public CustomerList(Operation operation)
// 	{
// 		super(operation);
// 	}
// }


// Path: main-kata/src/test/java/kata/test/ExercisesCrud.java
import org.eclipse.collections.api.list.MutableList;
import org.eclipse.collections.api.set.primitive.IntSet;
import org.eclipse.collections.api.tuple.Pair;
import org.eclipse.collections.impl.factory.primitive.IntSets;
import org.eclipse.collections.impl.list.mutable.FastList;
import org.eclipse.collections.impl.test.Verify;
import org.eclipse.collections.impl.tuple.Tuples;
import com.gs.fw.common.mithra.MithraManager;
import kata.domain.Customer;
import kata.domain.CustomerFinder;
import kata.domain.CustomerList;
import org.junit.Assert;
import org.junit.Test;

/*
 Copyright 2018 Goldman Sachs.
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing,
 software distributed under the License is distributed on an
 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 KIND, either express or implied. See the License for the
 specific language governing permissions and limitations
 under the License.
 */

package kata.test;


public class ExercisesCrud
        extends AbstractMithraTest
{
    @Override
    protected String[] getTestDataFilenames()
    {
        return new String[]{"testdata/data_Customer.txt"}; // Look into this file to see the test data being used
    }

//-------------- Question 1 ------------------------------------------------------
// Get customer with a particular ID.

    public Customer getCustomer(int customerId)