#fixed code
                                @Test
    public void rendersProfilePageWithRateInFirefox() throws Exception {
        final Farm farm = FkFarm.props();
        final double rate = 99.99;
        final People people = new People(farm).bootstrap();
        people.rate(
            "yegor256", new Cash.S(String.format("USD %f", rate))
        );
        MatcherAssert.assertThat(
            new View(farm, "/u/yegor256").html(),
            Matchers.containsString(
                String.format(
                    "rate</a> is <span style=\"color:darkgreen\">$%.2f</span>",
                    rate
                )
            )
        );
    }
#vulnerable code 
                                @Test
    public void rendersProfilePageWithRateInFirefox() throws Exception {
        final Farm farm = new PropsFarm(new FkFarm());
        final double rate = 99.99;
        final People people = new People(farm).bootstrap();
        people.rate(
            "yegor256", new Cash.S(String.format("USD %f", rate))
        );
        MatcherAssert.assertThat(
            new View(farm, "/u/yegor256").html(),
            Matchers.containsString(
                String.format(
                    "rate</a> is <span style=\"color:darkgreen\">$%.2f</span>",
                    rate
                )
            )
        );
    } 
                            #location 10 
                            #vulnerability type RESOURCE_LEAK