Skip navigation links
A C G H I R W 

A

assertCorsHeaders(ResultActions) - Static method in class com.github.ngeor.spring.ResultActionsHelper
Verifies that the expected CORS headers exist on the given response.
Assertions - Class in com.github.ngeor.spring
Entry point for assertion DSL.
assertThat(ResultActions) - Static method in class com.github.ngeor.spring.Assertions
 
assertThat(ResponseEntity<T>) - Static method in class com.github.ngeor.spring.Assertions
 

C

com.github.ngeor.spring - package com.github.ngeor.spring
 
containsValidationErrorsExactly(InvalidFieldExpectation...) - Method in class com.github.ngeor.spring.ResultActionsAssert
Checks that the MVC response contains the given validation errors and only these.

G

getCode() - Method in class com.github.ngeor.spring.InvalidFieldExpectation
 
getField() - Method in class com.github.ngeor.spring.InvalidFieldExpectation
 

H

hasBody(T) - Method in class com.github.ngeor.spring.ResponseEntityAssert
Verifies that the response contains the given object as body.
hasCorsHeaders() - Method in class com.github.ngeor.spring.ResultActionsAssert
 
hasStatus(HttpStatus) - Method in class com.github.ngeor.spring.ResponseEntityAssert
Verifies that the response has the given HTTP status code.
hasStatus(HttpStatus) - Method in class com.github.ngeor.spring.ResultActionsAssert
 

I

invalidField(String) - Static method in class com.github.ngeor.spring.InvalidFieldExpectationBuilder
Creates a new builder for an InvalidFieldExpectation.
InvalidFieldExpectation - Class in com.github.ngeor.spring
An expectation about an invalid field.
InvalidFieldExpectationBuilder - Class in com.github.ngeor.spring
isBadRequest() - Method in class com.github.ngeor.spring.ResponseEntityAssert
 
isBadRequest() - Method in class com.github.ngeor.spring.ResultActionsAssert
 
isBadRequest(InvalidFieldExpectation...) - Method in class com.github.ngeor.spring.ResultActionsAssert
 
isForbidden() - Method in class com.github.ngeor.spring.ResponseEntityAssert
 
isForbidden() - Method in class com.github.ngeor.spring.ResultActionsAssert
 
isInternalServerError() - Method in class com.github.ngeor.spring.ResponseEntityAssert
 
isInternalServerError() - Method in class com.github.ngeor.spring.ResultActionsAssert
 
isOk() - Method in class com.github.ngeor.spring.ResponseEntityAssert
 
isOk() - Method in class com.github.ngeor.spring.ResultActionsAssert
 

R

resolvedExceptionIsInstanceOf(Class<? extends Exception>) - Method in class com.github.ngeor.spring.ResultActionsAssert
Checks that the result has a resolved exception of the given class.
ResponseEntityAssert<T> - Class in com.github.ngeor.spring
Assertion DSL for ResponseEntity.
ResultActionsAssert - Class in com.github.ngeor.spring
Assertion DSL for ResultActions.
ResultActionsHelper - Class in com.github.ngeor.spring
Utility class to help with asserting CORS headers on ResultActions.

W

withCode(String) - Method in class com.github.ngeor.spring.InvalidFieldExpectationBuilder
 
A C G H I R W 
Skip navigation links

Copyright © 2018. All rights reserved.