### Question:
RestUnauthorizedException extends RestResponseEntityException { @Nonnull @Override public HttpStatus getHttpStatus() { return HttpStatus.UNAUTHORIZED; } RestUnauthorizedException( String message );  RestUnauthorizedException( String message, Throwable cause );  RestUnauthorizedException( Throwable cause ); @Nonnull @Override HttpStatus getHttpStatus();  }### Answer:
@Test public void getHttpStatus() { Assert.assertEquals( HttpStatus.UNAUTHORIZED, new RestUnauthorizedException( "Test" ).getHttpStatus() ); }