@Test(expected = IllegalArgumentException.class)
public void differentSizeVectorsShouldThrowException() {

  Vector v1 = new Vector(1, 2, 3, 4);
  Vector v2 = new Vector(1, 2);
  vectorScalarProduct.calculateScalarProduct(v1, v2);
}