package fortest.forexception;
import fortest.HavingPublicFieldClass;

import junit.framework.TestCase;

public class UsingFieldExceptionCheck extends TestCase {
	ForFor ff;
	protected void setUp() throws Exception {
		super.setUp();
		ff=new ForFor();
	}
	
	public void testQbgNULL(){
		//out̂Ŏs͂
		HavingPublicFieldClass hpf =new HavingPublicFieldClass();
		int i=(hpf.publicInt+10)*2;
		hpf.publicInt="aho";
		int i2=hpf.publicInt*10;
		assertEquals("a", ff.get());
	}

}