@Test
    public void testCreateSpringOnConnectionToSameMass() {
        Mass mass1 = new Mass(50, 50);
        Mass mass2 = new Mass(51, 51);

        grammar.getGraph().addMasses(mass1, mass2);
        grammar.getGraph().addSpring(mass1, mass2);
        grammar.getSpringCreations().put("A", new Range(0, 4));
        developer.currentPoint = mass1;

        assertEquals(1, developer.grammar.getGraph().getSprings().size());
        developer.createSpring("A");
        assertEquals(1, developer.grammar.getGraph().getSprings().size());
    }