Skip to content

Commit

Permalink
feat: ajustes
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonveroneze committed Dec 25, 2024
1 parent de8a8bb commit fdc81bc
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions tests/JacksonVeroneze.NET.Pagination.UnitTests/Offset/PageTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,31 +35,6 @@ public void Initialize_Success()
.NotBeNull();
}

[Fact(DisplayName = nameof(Page<User>)
+ " Invalid Data ThrowException")]
public void Initialize_InvalidData_ThrowException()
{
// -------------------------------------------------------
// Arrange
// -------------------------------------------------------
IReadOnlyCollection<User>? data = null;
PageInfo pageInfo = new(1, 1, 10);

// -------------------------------------------------------
// Act
// -------------------------------------------------------
Action action = () =>
{
Page<User> _ = new(data!, pageInfo);
};

// -------------------------------------------------------
// Assert
// -------------------------------------------------------
action.Should()
.ThrowExactly<ArgumentNullException>();
}

[Fact(DisplayName = nameof(Page<User>)
+ " Invalid PageInfo ThrowException")]
public void Initialize_InvalidPageInfo_ThrowException()
Expand Down

0 comments on commit fdc81bc

Please sign in to comment.