public DeletedBeforeParserTests() { _mapping = new DocumentMapping(typeof(object), new StoreOptions()) { DeleteStyle = DeleteStyle.SoftDelete }; _expression = Expression.Call(typeof(SoftDeletedExtensions).GetMethod(nameof(SoftDeletedExtensions.DeletedBefore)), Expression.Parameter(typeof(object)), Expression.Constant(DateTimeOffset.UtcNow)); _parser = new DeletedBeforeParser(); }