@Test
    public void test_autoscaling_in_dev_with_required_resources_preprovisioned() {
        var requiredCapacity =
                Capacity.from(new ClusterResources(2, 1,
                                                   new NodeResources(1, 1, 1, 1, NodeResources.DiskSpeed.any)),
                              new ClusterResources(20, 1,
                                                   new NodeResources(100, 1000, 1000, 1, NodeResources.DiskSpeed.any)),
                              IntRange.empty(),
                              true,
                              true,
                              Optional.empty(),
                              ClusterInfo.empty());

        var fixture = DynamicProvisioningTester.fixture()
                                               .hostCount(5)
                                               .capacity(requiredCapacity)
                                               .zone(new Zone(Environment.dev, RegionName.from("us-east")))
                                               .build();
        fixture.tester().clock().advance(Duration.ofDays(2));
        fixture.loader().applyLoad(new Load(1.0, 1.0, 1.0, 0, 0), 200);
        fixture.tester().assertResources("We scale even in dev because resources are 'required'",
                                         3, 1, 1.0,  13.4, 62.5,
                                         fixture.autoscale());
    }
Same setup as test_autoscaling_in_dev(), just with required = true
node-repository/src/test/java/com/yahoo/vespa/hosted/provision/autoscale/AutoscalingTest.java