public void setBuildId(long id) {
        this.buildId = id;
    }
@Test
    void shouldBeAbleToCreateACopyOfItself() {
        Resource existingResource = new Resource("some-name");
        existingResource.setId(2);
        existingResource.setBuildId(10);

        assertThat(existingResource).isEqualTo(new Resource(existingResource));
        assertThat(existingResource).isEqualTo(ClonerFactory.instance().deepClone(existingResource));
    }