private void assertSpring(Spring spring, Mass source, Mass destination, ConnectionType type) {
        assertSame(source, spring.getSource());
        assertSame(destination, spring.getDestination());
        assertEquals(type, spring.getConnectionType());
    }