Class AsTest


  • public class AsTest
    extends java.lang.Object
    An extension of As for Java 8 which makes use of Optional.
    Since:
    3.1-ALPHA-2
    Author:
    Fabrizio Giudici
    • Constructor Detail

      • AsTest

        public AsTest()
    • Method Detail

      • must_return_a_filled_Optional_when_the_role_is_present

        public void must_return_a_filled_Optional_when_the_role_is_present()
      • must_return_an_empty_Optional_when_the_role_is_not_present

        public void must_return_an_empty_Optional_when_the_role_is_not_present()
      • as_with_ref_must_properly_work

        public void as_with_ref_must_properly_work()
      • maybeAs_with_ref_must_properly_work

        public void maybeAs_with_ref_must_properly_work()
      • asMany_with_ref_must_properly_work

        public void asMany_with_ref_must_properly_work()