@Test
    public void testToMassesCsvOnDifferentTypes() {
        mass1.setType(SHOULDER);
        mass2.setType(ARM_SEGMENT);
        mass3.setType(HAND);
        mass4.setType(INPUT);
        graph.addMasses(mass1, mass2, mass3, mass4);

        result = GraphConverter.toMassesCsv(graph);
        assertEquals(MASSES_PREAMBLE
                + "f,5.0,6.0,0\n"
                + "r,11.0,12.0,0\n"
                + "e,7.0,13.0,0\n"
                + "i,8.0,14.0,0\n", result);
    }