public void setName(String name) {
        this.name = name;
    }
@Test
    void testSetName() {

        Method method = new Method("bar");
        assertEquals("bar", method.getName());

        method.setName("foo");
        assertEquals("foo", method.getName());
    }