Class CreateActionConfigurer<TEntity>

  • All Implemented Interfaces:
    org.springframework.test.web.servlet.setup.MockMvcConfigurer

    public class CreateActionConfigurer<TEntity>
    extends CrudActionConfigurer<ch.puzzle.libpuzzle.springframework.boot.rest.CrudActions<?,​?,​ch.puzzle.libpuzzle.springframework.boot.rest.action.CreateAction<TEntity>,​?,​?>,​ch.puzzle.libpuzzle.springframework.boot.rest.action.CreateAction<TEntity>>
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected ch.puzzle.libpuzzle.springframework.boot.rest.action.CreateAction<TEntity> createActionMock()  
      protected ch.puzzle.libpuzzle.springframework.boot.rest.action.CreateAction<TEntity> createActionSpy()  
      protected void mockCrudActions​(ch.puzzle.libpuzzle.springframework.boot.rest.CrudActions<?,​?,​ch.puzzle.libpuzzle.springframework.boot.rest.action.CreateAction<TEntity>,​?,​?> crudActions, ch.puzzle.libpuzzle.springframework.boot.rest.action.CreateAction<TEntity> action)  
      static <TEntity> CreateActionConfigurer<TEntity> mockedCreateAction​(ch.puzzle.libpuzzle.springframework.boot.rest.CrudActions<?,​?,​ch.puzzle.libpuzzle.springframework.boot.rest.action.CreateAction<TEntity>,​?,​?> crudActions)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.springframework.test.web.servlet.setup.MockMvcConfigurer

        afterConfigurerAdded
    • Method Detail

      • mockedCreateAction

        public static <TEntity> CreateActionConfigurer<TEntity> mockedCreateAction​(ch.puzzle.libpuzzle.springframework.boot.rest.CrudActions<?,​?,​ch.puzzle.libpuzzle.springframework.boot.rest.action.CreateAction<TEntity>,​?,​?> crudActions)
      • createActionMock

        protected ch.puzzle.libpuzzle.springframework.boot.rest.action.CreateAction<TEntity> createActionMock()
        Specified by:
        createActionMock in class CrudActionConfigurer<ch.puzzle.libpuzzle.springframework.boot.rest.CrudActions<?,​?,​ch.puzzle.libpuzzle.springframework.boot.rest.action.CreateAction<TEntity>,​?,​?>,​ch.puzzle.libpuzzle.springframework.boot.rest.action.CreateAction<TEntity>>
      • createActionSpy

        protected ch.puzzle.libpuzzle.springframework.boot.rest.action.CreateAction<TEntity> createActionSpy()
        Specified by:
        createActionSpy in class CrudActionConfigurer<ch.puzzle.libpuzzle.springframework.boot.rest.CrudActions<?,​?,​ch.puzzle.libpuzzle.springframework.boot.rest.action.CreateAction<TEntity>,​?,​?>,​ch.puzzle.libpuzzle.springframework.boot.rest.action.CreateAction<TEntity>>
      • mockCrudActions

        protected void mockCrudActions​(ch.puzzle.libpuzzle.springframework.boot.rest.CrudActions<?,​?,​ch.puzzle.libpuzzle.springframework.boot.rest.action.CreateAction<TEntity>,​?,​?> crudActions,
                                       ch.puzzle.libpuzzle.springframework.boot.rest.action.CreateAction<TEntity> action)
        Specified by:
        mockCrudActions in class CrudActionConfigurer<ch.puzzle.libpuzzle.springframework.boot.rest.CrudActions<?,​?,​ch.puzzle.libpuzzle.springframework.boot.rest.action.CreateAction<TEntity>,​?,​?>,​ch.puzzle.libpuzzle.springframework.boot.rest.action.CreateAction<TEntity>>