@Test
public void returnsDefaultStatusCodes() {

    ErrorTrait a = new ErrorTrait("client", SourceLocation.NONE);
    ErrorTrait b = new ErrorTrait("server", SourceLocation.NONE);
    assertEquals(400, a.getDefaultHttpStatusCode());
    assertEquals(500, b.getDefaultHttpStatusCode());
}