@Test
    public void testCreateMassOnExpansionRangeX() {
        Range unlimitedRange = new Range(-500, 500);
        grammar.getMassCreations().put("A", unlimitedRange);
        developer.currentPoint = new Mass(0, 0, SHOULDER);

        int minExpansionRange = -5;
        int maxExpansionRange = 5;

        for (; minExpansionRange < maxExpansionRange; minExpansionRange++, maxExpansionRange--) {
            developer.grammar.expansionRangeX = new Range(minExpansionRange, maxExpansionRange);
            Mass created = developer.createMass("A");
            System.out.println("min: " + minExpansionRange);
            System.out.println("max: " + maxExpansionRange);
            System.out.println("created: " + created.getX());

            assertTrue(created.getX() >= minExpansionRange && created.getX() <= maxExpansionRange);
        }
    }