2013-05-07から1日間の記事一覧
『バグがないプログラムの作り方』のp.114 モックオブジェクトを切り替える方法の1、ファクトリーメソッドを使う方法にて import junit.framework.TestCase; public class UserAuthenticationTest extends TestCase { private UserAuthentication auth; prot…
『バグがないプログラムの作り方』のp.114 モックオブジェクトを切り替える方法の1、ファクトリーメソッドを使う方法にて import junit.framework.TestCase; public class UserAuthenticationTest extends TestCase { private UserAuthentication auth; prot…