1/*
2 * Copyright (c) 2007 Mockito contributors
3 * This program is made available under the terms of the MIT License.
4 */
5package org.mockito.internal.util;
6
7import org.junit.Test;
8import org.mockitoutil.TestBase;
9
10import static junit.framework.TestCase.assertEquals;
11
12public class SimpleMockitoLoggerTest extends TestBase {
13
14    @Test
15    public void shouldLog() throws Exception {
16        //given
17        SimpleMockitoLogger logger = new SimpleMockitoLogger();
18        //when
19        logger.log("foo");
20        //then
21        assertEquals("foo", logger.getLoggedInfo());
22    }
23}
24