private static CustomResultInterceptor CreateSuccessInterceptor() { var interceptorResult = InterceptorResult.Success(); var interceptor = new CustomResultInterceptor(interceptorResult); return(interceptor); }
public void Success_HasNoMessage() { var result = InterceptorResult.Success(); Assert.Null(result.Message); }
public void Success_HasSuccessTrue() { var result = InterceptorResult.Success(); Assert.True(result.IsSuccess); }