testPhysicalInfo.setShooter(mockShooter);
testPhysicalInfo.setTarget(mockTarget);
Mockito.doNothing().when(testPhysicalInfo).setDamageDirection(Mockito.any(EntityState.class),
testPhysicalInfo.setShooter(mockShooter);
testPhysicalInfo.setAttackType(punch);
testPhysicalInfo.initDamage(punch, mockShooterState, mockTargetState, true, mockGame);
testPhysicalInfo.setShooter(mockShooter);
testPhysicalInfo.setAttackType(kick);
testPhysicalInfo.initDamage(kick, mockShooterState, mockTargetState, true, mockGame);
testPhysicalInfo.setShooter(mockShooter);
testPhysicalInfo.setAttackType(punch);
testPhysicalInfo.initDamage(punch, mockShooterState, mockTargetState, true, mockGame);
Mockito.when(mockTarget.getInternal(Mockito.anyInt())).thenReturn(3);
Mockito.when(mockShooter.getWeight()).thenReturn(100.0);
testPhysicalInfo.setShooter(mockShooter);
testPhysicalInfo.setAttackType(punch);
testPhysicalInfo.initDamage(punch, mockShooterState, mockTargetState, true, mockGame);
testPhysicalInfo.setShooter(Mockito.mock(QuadMech.class));
testPhysicalInfo.initDamage(punch, mockShooterState, mockTargetState, true, mockGame);
Assert.assertEquals(0.0, testPhysicalInfo.getProbabilityToHit(), TOLERANCE);
testPhysicalInfo.setShooter(Mockito.mock(Tank.class));
testPhysicalInfo.initDamage(punch, mockShooterState, mockTargetState, true, mockGame);
Assert.assertEquals(0.0, testPhysicalInfo.getProbabilityToHit(), TOLERANCE);