Package org.linkedopenactors.rdfpub.uc
Klasse TestHelperV2
java.lang.Object
org.linkedopenactors.rdfpub.uc.TestHelperV2
-
Konstruktorübersicht
KonstruktorBeschreibungTestHelperV2
(org.springframework.web.context.WebApplicationContext context, org.linkedopenactors.rdfpub.rdf4j.ModelToRdfObject modelToRdfObject, DomainObjectBuilders domainObjectBuilders) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcreateActor
(String userId, String preferredUsername, String issuer) org.springframework.test.web.servlet.MockMvc
org.springframework.security.test.web.servlet.request.SecurityMockMvcRequestPostProcessors.JwtRequestPostProcessor
toActivity
(org.springframework.test.web.servlet.MvcResult mvcResultActor) toActivityPubObject
(org.springframework.test.web.servlet.MvcResult mvcResultActor) toInstance
(org.springframework.test.web.servlet.MvcResult mvcResultActor)
-
Konstruktordetails
-
TestHelperV2
public TestHelperV2(org.springframework.web.context.WebApplicationContext context, org.linkedopenactors.rdfpub.rdf4j.ModelToRdfObject modelToRdfObject, DomainObjectBuilders domainObjectBuilders)
-
-
Methodendetails
-
createActor
- Löst aus:
Exception
-
toActivityPubObject
public Optional<ActivityPubObject> toActivityPubObject(org.springframework.test.web.servlet.MvcResult mvcResultActor) throws UnsupportedEncodingException, IOException - Löst aus:
UnsupportedEncodingException
IOException
-
toActivity
public Optional<Activity> toActivity(org.springframework.test.web.servlet.MvcResult mvcResultActor) throws UnsupportedEncodingException, IOException - Löst aus:
UnsupportedEncodingException
IOException
-
toInstance
public Optional<Instance> toInstance(org.springframework.test.web.servlet.MvcResult mvcResultActor) throws UnsupportedEncodingException, IOException - Löst aus:
UnsupportedEncodingException
IOException
-
getMockMvc
public org.springframework.test.web.servlet.MockMvc getMockMvc() -
jwt
-