public final class ComponentFixtureValidator extends Object
Modifier and Type | Method and Description |
---|---|
static Robot |
notNullRobot(Robot robot)
Verifies that the given
is not null . |
static <T extends Component> |
notNullTarget(T target)
Verifies that the given
is not null . |
public static Robot notNullRobot(Robot robot)
Robot
is not null
.robot
- the Robot
to verify.Robot
.NullPointerException
- if robot
is null
.public static <T extends Component> T notNullTarget(T target)
Component
is not null
.T
- specifies the type of Component
to return.target
- the Component
to verify.Component
.NullPointerException
- if target
is null
.Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.