@Test public void testThatPaintBackgroundDrawsBackgroundWithTransparency() { gameOfLifeDrawer.paintBackground(); verify(rainbowDrawer).background(DEAD_COLOR, ALPHA); }
void paintBackground() { rainbowDrawer.background(DEAD_COLOR, ALPHA); }
GameOfLifeDrawer { void paintBackground() { rainbowDrawer.background(DEAD_COLOR, ALPHA); } }
GameOfLifeDrawer { void paintBackground() { rainbowDrawer.background(DEAD_COLOR, ALPHA); } @VisibleForTesting  GameOfLifeDrawer(RainbowDrawer rainbowDrawer); }
GameOfLifeDrawer { void paintBackground() { rainbowDrawer.background(DEAD_COLOR, ALPHA); } @VisibleForTesting  GameOfLifeDrawer(RainbowDrawer rainbowDrawer); static GameOfLifeDrawer newInstance(RainbowDrawer rainbowDrawer); }
GameOfLifeDrawer { void paintBackground() { rainbowDrawer.background(DEAD_COLOR, ALPHA); } @VisibleForTesting  GameOfLifeDrawer(RainbowDrawer rainbowDrawer); static GameOfLifeDrawer newInstance(RainbowDrawer rainbowDrawer);  }