public static HealthStateScope forMaterial(Material material) {
        return new HealthStateScope(ScopeType.MATERIAL, material.getAttributesForScope().toString());
    }
@Test
    public void shouldHaveDifferentScopeWhenAutoUpdateHasChanged() {
        SvnMaterial mat = MaterialsMother.svnMaterial("url1");
        HealthStateScope scope1 = HealthStateScope.forMaterial(mat);
        mat.setAutoUpdate(false);
        HealthStateScope scope2 = HealthStateScope.forMaterial(mat);
        assertThat(scope1, not(scope2));
    }