AdjustTest.Pcl.TestAttributionHandler.ServerErrorTest C# (CSharp) Method

ServerErrorTest() private method

private ServerErrorTest ( AttributionHandler attributionHandler ) : void
attributionHandler AdjustSdk.Pcl.AttributionHandler
return void
        private void ServerErrorTest(AttributionHandler attributionHandler)
        {
            StartGetAttributionTest(attributionHandler, ResponseType.INTERNAL_SERVER_ERROR);

            // the response logged
            Assert.Verbose("Response: {{ \"message\": \"testResponseError\"}}");

            // the message in the response
            Assert.Error("testResponseError");

            // check attribution was called without ask_in
            Assert.Test("ActivityHandler UpdateAttribution, Null");

            Assert.Test("ActivityHandler SetAskingAttribution, False");
        }