def METHOD_NAME(self, png_img):
    img = png_img
    width0, height0 = img.default_size
    pat0 = img.pattern
    img.width = width0 + 3
    assert pat0 != img.pattern
    assert img.width == (width0 + 3)
    pat1 = img.pattern
    img.height = height0 + 7
    assert img.height == (height0 + 7)
    assert img.pattern != pat0
    assert img.pattern != pat1
    pat2 = img.pattern
    img.theta = -35.0
    assert img.pattern != pat0
    assert img.pattern != pat1
    assert img.pattern != pat2
    assert img.theta == pytest.approx(-35.0)