* Sjekker om alle default kostander er med, dersom ikke blir disse lagt til
*
* @throws ProTransException
*/
private void checkDefaultDeviationCosts() throws ProTransException {
CostTypeManager costTypeManager = (CostTypeManager) ModelUtil
.getBean("costTypeManager");
CostUnitManager costUnitManager = (CostUnitManager) ModelUtil
.getBean("costUnitManager");
List<String> defaultCosts = ApplicationParamUtil
.getDefaultDeviationCosts();
CostType costType;
CostUnit costUnitInternal = costUnitManager.findByName("Intern");
OrderCost orderCost;
List<CostType> containsCostTypes = getCostTypes();
for (String costName : defaultCosts) {
costType = costTypeManager.findByName(costName);
if (costType == null) {
throw new ProTransException("Kan ikke finne kostnadstype "
+ costName);
}