def METHOD_NAME(self):
    """Test declaring a scalar val with an array variable."""
    p = om.Problem()
    p.model.add_subsystem('comp', CompAddArrayWithScalar(), promotes=['*'])
    p.setup()
    assert_near_equal(p.get_val('x_a'), 2. * np.ones(6))
    assert_near_equal(p.get_val('x_b'), 2. * np.ones((3, 2)))
    assert_near_equal(p.get_val('y_a'), 3. * np.ones(6))
    assert_near_equal(p.get_val('y_b'), 3. * np.ones((3, 2)))