@@ -0,0 +1,416 @@
+package test;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Aimport org.junit.Test;%0A%0Aimport P.A2;%0Aimport P.B2;%0A%0Apublic class AssociationTests %7B%0A%0A%09@Test%0A%09public void test() %7B%0A%09%09%0A%09%09A2 a2 = new A2();%0A%09%09a2.linkB2 = new B2Mock();%0A%09%09%0A%09%09assertEquals(20, a2.getSummationOfVar1andVar2());%0A%09%7D%0A%09%0A%09public class B2Mock extends B2 %7B%0A%09%09public int getbVar1() %7B%0A%09%09%09return 10;%0A%09%09%7D%0A%09%09%0A%09%09public int getbVar2() %7B%0A%09%09%09return 10;%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

Add association's relation test case