@Test
    public void testFactoryMethod() {
        Person person = PersonImpl.personWithNameAndAge("test", 100);
        assertEquals(person.getName(), "test");
        assertEquals(person.getAge(), 100);
    }