Interface BasicFT<E extends dev.daymor.sakuraboot.DataPresentation<I>,I extends Comparable<? super I> & Serializable>

Type Parameters:
E - The entity type DataPresentation.
I - The ID of type Comparable and Serializable.
All Superinterfaces:
DeleteByIdFT<E,I>, FindAllFT<E,I>, FindByIdFT<E,I>, PatchByIdFT<E,I>, SaveFT<E,I>, SuperFT<E,I>, dev.daymor.sakuraboot.test.SuperIT<E,I>, dev.daymor.sakuraboot.test.SuperTest<I>, UpdateByIdFT<E,I>

public interface BasicFT<E extends dev.daymor.sakuraboot.DataPresentation<I>,I extends Comparable<? super I> & Serializable> extends SaveFT<E,I>, FindAllFT<E,I>, FindByIdFT<E,I>, UpdateByIdFT<E,I>, PatchByIdFT<E,I>, DeleteByIdFT<E,I>
The interface for basic functional tests.

Example:

To create a concrete test class that inherits from BasicFT, follow these steps:

Implements the BasicFT class:

 public class YourFT implements BasicFT<YourEntity, YourIdType> {

     private final YourUtil util;

     private final ApplicationContext applicationContext;

     private final ObjectMapper objectMapper;

     @LocalServerPort
     private int port;

     @Autowired
     YourFT(
         final YourUtil util, final ApplicationContext applicationContext,
         final ObjectMapper objectMapper) {

         this.util = util;
         this.applicationContext = applicationContext;
         this.objectMapper = objectMapper;
     }

     @Override
     public YourUtil getUtil() {

         return util;
     }

     @Override
     public ApplicationContext getApplicationContext() {

         return applicationContext;
     }

     @Override
     public ObjectMapper getObjectMapper() {

         return objectMapper;
     }

     @Override
     public int getPort() {

         return port;
     }
 }
 
Since:
0.1.0
See Also: