@Test public void compute_should_not_return_same_result_twice() { assertFalse(computer.compute().equals(computer.compute())); }
public Integer compute() { return random.nextInt(100); }
Computer { public Integer compute() { return random.nextInt(100); } }
Computer { public Integer compute() { return random.nextInt(100); } Computer(); }
Computer { public Integer compute() { return random.nextInt(100); } Computer(); Integer compute(); }
Computer { public Integer compute() { return random.nextInt(100); } Computer(); Integer compute();  }