// Path: mini-kata/src/main/java/kata/domain/Pet.java
// public class Pet extends PetAbstract
// {
//     public Pet(Timestamp processingDate)
//     {
//         super(processingDate);
//         // You must not modify this constructor. Mithra calls this internally.
//         // You can call this constructor. You can also add new constructors.
//     }
// 
//     public Pet()
//     {
//         this(TimestampProvider.getInfinityDate());
//     }
// 
//     public Pet(String petName, int personId, int petAge, int petTypeId)
//     {
//         this(TimestampProvider.getInfinityDate());
//         this.setPetName(petName);
//         this.setPersonId(personId);
//         this.setPetAge(petAge);
//         this.setPetTypeId(petTypeId);
//     }
// }


import com.gs.fw.common.mithra.test.ConnectionManagerForTests;
import com.gs.fw.common.mithra.test.MithraTestResource;
import kata.domain.Pet;
import org.eclipse.collections.api.block.function.Function;
import org.junit.After;
import org.junit.Before;
/*
 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 AbstractMithraTest
{
// Path: mini-kata/src/main/java/kata/domain/Pet.java
// public class Pet extends PetAbstract
// {
//     public Pet(Timestamp processingDate)
//     {
//         super(processingDate);
//         // You must not modify this constructor. Mithra calls this internally.
//         // You can call this constructor. You can also add new constructors.
//     }
// 
//     public Pet()
//     {
//         this(TimestampProvider.getInfinityDate());
//     }
// 
//     public Pet(String petName, int personId, int petAge, int petTypeId)
//     {
//         this(TimestampProvider.getInfinityDate());
//         this.setPetName(petName);
//         this.setPersonId(personId);
//         this.setPetAge(petAge);
//         this.setPetTypeId(petTypeId);
//     }
// }


// Path: mini-kata/src/test/java/kata/test/AbstractMithraTest.java
import com.gs.fw.common.mithra.test.ConnectionManagerForTests;
import com.gs.fw.common.mithra.test.MithraTestResource;
import kata.domain.Pet;
import org.eclipse.collections.api.block.function.Function;
import org.junit.After;
import org.junit.Before;

/*
 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 AbstractMithraTest
{
    public static final Function<Pet, String> TO_PET_NAME = Pet::getPetName;