Skip to content

Commit 64a316a

Browse files
committed
Implement ArrangeSet and AssertSet methods for MockingContainer
o applied code review comments
1 parent 286109f commit 64a316a

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Telerik.JustMock.Tests/NinjectAutoMockFixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
JustMock Lite
3-
Copyright © 2010-2015 Progress Software Corporation
3+
Copyright © 2010-2015,2019 Progress Software Corporation
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.

Telerik.JustMock/AutoMock/MockingContainer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
JustMock Lite
3-
Copyright © 2010-2015,2018 Progress Software Corporation
3+
Copyright © 2010-2015,2018-2019 Progress Software Corporation
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.

Telerik.JustMock/Helpers/FluentHelper.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
JustMock Lite
3-
Copyright © 2010-2015 Progress Software Corporation
3+
Copyright © 2010-2015,2019 Progress Software Corporation
44
55
Licensed under the Apache License, Version 2.0 (the "License");
66
you may not use this file except in compliance with the License.
@@ -183,6 +183,7 @@ public static void Assert<T>(this T obj, Expression<Action<T>> expression, Occur
183183
/// <typeparam name="T">Type of the mock.</typeparam>
184184
/// <param name="obj">Target mock object</param>
185185
/// <param name="action">Propert set action</param>
186+
/// <param name="message">A message to display if the assertion fails.</param>
186187
public static void AssertSet<T>(this T obj, Action<T> action, string message = null)
187188
{
188189
ProfilerInterceptor.GuardInternal(() =>
@@ -198,6 +199,7 @@ public static void AssertSet<T>(this T obj, Action<T> action, string message = n
198199
/// <param name="obj">Target mock object</param>
199200
/// <param name="action">Propert set action</param>
200201
/// <param name="occurs">Specifies the number of times a set action should occur.</param>
202+
/// <param name="message">A message to display if the assertion fails.</param>
201203
public static void AssertSet<T>(this T obj, Action<T> action, Occurs occurs, string message = null)
202204
{
203205
ProfilerInterceptor.GuardInternal(() =>

0 commit comments

Comments
 (0)