Ejemplo n.º 1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: protected static java.util.Map<String, Object> deserializeMap(final String body) throws org.neo4j.server.rest.domain.JsonParseException
//JAVA TO C# CONVERTER WARNING: 'final' parameters are ignored unless the option to convert to C# 7.2 'in' parameters is selected:
        protected internal static IDictionary <string, object> DeserializeMap(string body)
        {
            IDictionary <string, object> result = JsonHelper.jsonToMap(body);

            assertThat(result, CoreMatchers.@is(not(nullValue())));
            return(result);
        }
Ejemplo n.º 2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: private static java.util.List<java.util.Map<String, Object>> deserializeList(final String body) throws org.neo4j.server.rest.domain.JsonParseException
//JAVA TO C# CONVERTER WARNING: 'final' parameters are ignored unless the option to convert to C# 7.2 'in' parameters is selected:
        private static IList <IDictionary <string, object> > DeserializeList(string body)
        {
            IList <IDictionary <string, object> > result = JsonHelper.jsonToList(body);

            assertThat(result, CoreMatchers.@is(not(nullValue())));
            return(result);
        }
Ejemplo n.º 3
0
 protected internal virtual void assertNoHistoryForTasks()
 {
     if (!testRule.HistoryLevelNone)
     {
         Assert.assertThat(historyService.createHistoricTaskInstanceQuery().count(), CoreMatchers.@is(0L));
     }
 }