C# Class TestProjectNoDBSpecificProps.Test.BO.TestUtilsSteeringWheel

Mostrar archivo Open project: Chillisoft/habanero.smooth Class Usage Examples

Public Methods

Method Description
CreateSavedSteeringWheel ( ) : SteeringWheel

Creates a new saved SteeringWheel with a random value assigned to every property

CreateUnsavedDefaultSteeringWheel ( ) : SteeringWheel

Creates a new unsaved SteeringWheel where all properties are null, except ID properties and those with default values. If there are compulsory properties without defaults, saving the object will throw an exception.

CreateUnsavedValidSteeringWheel ( ) : SteeringWheel

Creates a new unsaved SteeringWheel with a random value assigned to every property

Method Details

CreateSavedSteeringWheel() public static method

Creates a new saved SteeringWheel with a random value assigned to every property
public static CreateSavedSteeringWheel ( ) : SteeringWheel
return TestProjectNoDBSpecificProps.BO.SteeringWheel

CreateUnsavedDefaultSteeringWheel() public static method

Creates a new unsaved SteeringWheel where all properties are null, except ID properties and those with default values. If there are compulsory properties without defaults, saving the object will throw an exception.
public static CreateUnsavedDefaultSteeringWheel ( ) : SteeringWheel
return TestProjectNoDBSpecificProps.BO.SteeringWheel

CreateUnsavedValidSteeringWheel() public static method

Creates a new unsaved SteeringWheel with a random value assigned to every property
public static CreateUnsavedValidSteeringWheel ( ) : SteeringWheel
return TestProjectNoDBSpecificProps.BO.SteeringWheel