Package it.tidalwave.util
Class AsTest
- java.lang.Object
-
- it.tidalwave.util.AsTest
-
public class AsTest extends java.lang.Object
An extension ofAs
for Java 8 which makes use ofOptional
.- Since:
- 3.1-ALPHA-2
- Author:
- Fabrizio Giudici
-
-
Constructor Summary
Constructors Constructor Description AsTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
as_with_ref_must_properly_work()
void
asMany_with_ref_must_properly_work()
void
maybeAs_with_ref_must_properly_work()
void
must_return_a_filled_Optional_when_the_role_is_present()
void
must_return_an_empty_Optional_when_the_role_is_not_present()
-
-
-
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()
-
-