package kr.co.swh.lecture.opensource.mockito;

import static org.junit.Assert.assertTrue;

import org.junit.Test;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;

/**
 * <pre>
 * kr.co.swh.lecture.opensource.mockito 
 * MockitoMain.java
 *
 * 설명 :
 * </pre>
 * 
 * @since : 2018. 6. 24.
 * @author : tobby48
 * @version : v1.0
 */
public class MockitoMain {

	@Mock Person p;

	@Test public void example1(){
		MockitoAnnotations.initMocks(this);
		assertTrue(p != null);
	}

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		MockitoMain m = new MockitoMain();
		m.example1();
	}
}
