Class WiremockService

java.lang.Object
edu.ucsb.cs156.rec.services.wiremock.WiremockService
Direct Known Subclasses:
WiremockServiceDummy, WiremockServiceImpl

public abstract class WiremockService extends Object
This is a service for mocking authentication using wiremock This class relies on property values. For hints on testing, see: https://www.baeldung.com/spring-boot-testing-configurationproperties There are two imlementations of the class, depending on the profile in use
  • Constructor Details

    • WiremockService

      public WiremockService()
  • Method Details

    • getWiremockServer

      public abstract com.github.tomakehurst.wiremock.WireMockServer getWiremockServer()
      This method returns the wiremockServer
      Returns:
      the wiremockServer
    • init

      public abstract void init()
      This method initializes the WireMockServer