@@ -389,3 +389,59 @@ func TestSCIMUserAttributes_Marshal(t *testing.T) {
389389
390390 testJSONMarshal (t , u , want )
391391}
392+
393+ func TestUpdateAttributeForSCIMUserOperations_Marshal (t * testing.T ) {
394+ testJSONMarshal (t , & UpdateAttributeForSCIMUserOperations {}, `{}` )
395+
396+ u := & UpdateAttributeForSCIMUserOperations {
397+ Op : "TestOp" ,
398+ Path : String ("path" ),
399+ }
400+
401+ want := `{
402+ "op":"TestOp",
403+ "path": "path"
404+ }`
405+
406+ testJSONMarshal (t , u , want )
407+ }
408+
409+ func TestUpdateAttributeForSCIMUserOptions_Marshal (t * testing.T ) {
410+ testJSONMarshal (t , & UpdateAttributeForSCIMUserOptions {}, `{}` )
411+
412+ u := & UpdateAttributeForSCIMUserOptions {
413+ Schemas : []string {"test" , "schema" },
414+ Operations : UpdateAttributeForSCIMUserOperations {
415+ Op : "TestOp" ,
416+ Path : String ("path" ),
417+ },
418+ }
419+
420+ want := `{
421+ "schemas":["test", "schema"],
422+ "operations":{
423+ "op":"TestOp",
424+ "path": "path"
425+ }
426+ }`
427+
428+ testJSONMarshal (t , u , want )
429+ }
430+
431+ func TestListSCIMProvisionedIdentitiesOptions_Marshal (t * testing.T ) {
432+ testJSONMarshal (t , & ListSCIMProvisionedIdentitiesOptions {}, `{}` )
433+
434+ u := & ListSCIMProvisionedIdentitiesOptions {
435+ StartIndex : Int (1 ),
436+ Count : Int (10 ),
437+ Filter : String ("test" ),
438+ }
439+
440+ want := `{
441+ "startIndex":1,
442+ "count": 10,
443+ "filter":"test"
444+ }`
445+
446+ testJSONMarshal (t , u , want )
447+ }
0 commit comments