1 /* 2 * Copyright (c) 2007 Mockito contributors 3 * This program is made available under the terms of the MIT License. 4 */ 5 package org.mockito.internal.util; 6 7 public class SimpleMockitoLogger extends ConsoleMockitoLogger { 8 9 StringBuilder loggedInfo = new StringBuilder(); 10 log(Object what)11 public void log(Object what) { 12 // can be uncommented when debugging this test 13 // super.log(what); 14 loggedInfo.append(what); 15 } 16 getLoggedInfo()17 public String getLoggedInfo() { 18 return loggedInfo.toString(); 19 } 20 }