#vulnerable code 
                                @Test
    public void payZold() throws Exception {
        MatcherAssert.assertThat(
            new Zold(new PropsFarm()).pay(
                "yegor256",
                new Cash.S("$0.01"),
                "ZoldITCase#payZold",
                "none"
            ),
            Matchers.not(Matchers.isEmptyString())
        );
    } 
                            #location 4 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                @Test
    public void payZold() throws Exception {
        final Farm farm = new PropsFarm();
        final String target = "yegor256";
        new Roles(new Pmo(farm)).bootstrap().assign(target, "PO");
        MatcherAssert.assertThat(
            new Zold(farm).pay(
                target,
                new Cash.S("$0.01"),
                "ZoldITCase#payZold",
                "none"
            ),
            Matchers.not(Matchers.isEmptyString())
        );
    }