You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2020/01/17 14:10:34 UTC
[isis] branch master updated: ISIS-2158: fixes tests
This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/master by this push:
new d151f78 ISIS-2158: fixes tests
d151f78 is described below
commit d151f787a7fbc28a9b4fea55e2a3b72c4b0ef428
Author: Andi Huber <ah...@apache.org>
AuthorDate: Fri Jan 17 15:10:24 2020 +0100
ISIS-2158: fixes tests
---
.../runtime/system/OneToManyAssociationDefaultTest.java | 15 +++------------
1 file changed, 3 insertions(+), 12 deletions(-)
diff --git a/core/runtime/src/test/java/org/apache/isis/core/runtime/system/OneToManyAssociationDefaultTest.java b/core/runtime/src/test/java/org/apache/isis/core/runtime/system/OneToManyAssociationDefaultTest.java
index fe10470..887ba15 100644
--- a/core/runtime/src/test/java/org/apache/isis/core/runtime/system/OneToManyAssociationDefaultTest.java
+++ b/core/runtime/src/test/java/org/apache/isis/core/runtime/system/OneToManyAssociationDefaultTest.java
@@ -129,26 +129,17 @@ public class OneToManyAssociationDefaultTest {
oneOf(mockOwnerAdapter).getSpecification();
will(returnValue(mockOwnerAdapterSpec));
- oneOf(mockOwnerAdapterSpec).isManagedBean();
- will(returnValue(false));
-
- oneOf(mockOwnerAdapterSpec).isViewModel();
- will(returnValue(true));
-
oneOf(mockOwnerAdapterSpec).isParented();
will(returnValue(false));
oneOf(mockOwnerAdapterSpec).isEntity();
will(returnValue(false));
+ oneOf(mockOwnerAdapterSpec).isIdentifiable();
+ will(returnValue(true));
+
oneOf(mockAssociatedAdapter).getSpecification();
will(returnValue(mockOwnerAdapterSpec));
-
-// oneOf(mockOwnerAdapter).isRepresentingPersistent();
-// will(returnValue(true));
-//
-// oneOf(mockAssociatedAdapter).isTransient();
-// will(returnValue(false));
oneOf(mockPeer).getFacet(CollectionAddToFacet.class);
will(returnValue(mockCollectionAddToFacet));