Harrison Deng
f5a181d2f2
Moved core test code to reflect changes in core code. Removed unused using directives.
26 lines
570 B
C#
26 lines
570 B
C#
using GameServiceWarden.API.Module;
|
|
|
|
namespace GameServiceWarden.Core.Tests.Modules
|
|
{
|
|
public class FakeServiceConfigurable : IServiceConfigurable
|
|
{
|
|
private string value;
|
|
public string OptionName { get; private set; }
|
|
|
|
public FakeServiceConfigurable(string optionName)
|
|
{
|
|
this.OptionName = optionName;
|
|
}
|
|
|
|
public string GetValue()
|
|
{
|
|
return value;
|
|
}
|
|
|
|
public bool SetValue(string value)
|
|
{
|
|
this.value = value;
|
|
return true;
|
|
}
|
|
}
|
|
} |