You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/test/java/org/springframework/data/mongodb/core/aggregation/ProjectionOperationUnitTests.java
+37-1Lines changed: 37 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2013-2016 the original author or authors.
2
+
* Copyright 2013-2017 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -55,11 +55,17 @@ public class ProjectionOperationUnitTests {
55
55
staticfinalStringDIVIDE = "$divide";
56
56
staticfinalStringPROJECT = "$project";
57
57
58
+
/**
59
+
* @see DATAMONGO-586
60
+
*/
58
61
@Test(expected = IllegalArgumentException.class)
59
62
publicvoidrejectsNullFields() {
60
63
newProjectionOperation(null);
61
64
}
62
65
66
+
/**
67
+
* @see DATAMONGO-586
68
+
*/
63
69
@Test
64
70
publicvoiddeclaresBackReferenceCorrectly() {
65
71
@@ -71,6 +77,9 @@ public void declaresBackReferenceCorrectly() {
0 commit comments