public void Correctly_determines_rebuild_actions()
        {
            IDatabaseActionResolver resolver = new DatabaseActionResolver();

            IEnumerable <DatabaseAction> actions = resolver.GetActions(RequestedDatabaseAction.Rebuild);

            EnumerableAssert.That(actions, Is.EqualTo(new DatabaseAction[] { DatabaseAction.Drop, DatabaseAction.Create, DatabaseAction.Update }));
        }
        public void Correctly_determines_drop_actions()
        {
            IDatabaseActionResolver resolver = new DatabaseActionResolver();

            IEnumerable <DatabaseAction> actions = resolver.GetActions(RequestedDatabaseAction.Drop);

            EnumerableAssert.That(actions, Is.EqualTo(new DatabaseAction[] { DatabaseAction.Drop }));
        }