when(this.prevBuild.getResult()).thenReturn(Result.UNSTABLE);
buildHasTestResult((AbstractBuild) this.prevBuild, 2);
buildHasTestResult((AbstractBuild) this.build, 1);
Summary summary = this.build.getBuildStatusSummary();
assertFalse(summary.isWorse);
assertEquals(Messages.Run_Summary_LessTestsFailing(1, 1), summary.message);
}