[510190] Adding intersection types on oclAsType() validation.

Add a JUnit test case checking that
varA.oclAsType(test::X) triggers no validation error when a and X might
have sublcasses which are inheriting both (here test::B)

Bug: 510190
Change-Id: Idc71450144ff97067fc034731d56f7d1c52d021b
Signed-off-by: Cedric Brun <cedric.brun@obeo.fr>
3 files changed