C# Class SWFProcessing.Swiffotron.Test.MockCache

A mock cache object for unit test classes to use which has the potential to snitch on strange cache behaviour.
Inheritance: ISwiffotronCache
Show file Open project: WeeWorld/Swiffotron Class Usage Examples

Public Methods

Method Description
Get ( string key ) : object
Has ( string key ) : bool
Initialise ( string init ) : void
Put ( string key, object value ) : void

Method Details

Get() public method

public Get ( string key ) : object
key string
return object

Has() public method

public Has ( string key ) : bool
key string
return bool

Initialise() public method

public Initialise ( string init ) : void
init string
return void

Put() public method

public Put ( string key, object value ) : void
key string
value object
return void