Stub in unit testing.