Basic functionality mocked.