when(httpServletRequest.getParameter("corporationTicker")).thenReturn("corporationTicker");
when(httpServletRequest.getParameter("allianceID")).thenReturn("5");
when(httpServletRequest.getParameter("allianceName")).thenReturn("allianceName");
updateBlueprintTaskServlet.doPost(httpServletRequest, httpServletResponse);
verify(blueprintDao).putWithoutChecks(blueprint);
CharacterInfo characterInfo = blueprint.getAttachedCharacterInfo();
assertNotNull(characterInfo);
assertEquals(Long.valueOf(3), characterInfo.getCharacterID());
assertEquals("characterName", characterInfo.getName());
assertEquals(Long.valueOf(4), characterInfo.getCorporationID());
assertEquals("corporationName", characterInfo.getCorporationName());
assertEquals("corporationTicker", characterInfo.getCorporationTicker());
assertEquals(Long.valueOf(5), characterInfo.getAllianceID());
assertEquals("allianceName", characterInfo.getAllianceName());
}