when is unit test considered automated testing code example
Example: what is a unit testable code
public class SomeClass
{
public SomeClass(calculatedParams)
{
...
}
}
public interface ISomeClassCreator
{
SomeClass Create(params);
}
public class SomeClassCreator: ISomeClassCreator
{
public SomeClass Create(params)
{
...
}
}