### Question:
JobEntryBaseJsonSerializer extends AbstractJobEntryJsonSerializer<JobEntryBase> { @Override protected void writeCustom( JobEntryBase meta, JsonGenerator json, SerializerProvider serializerProvider ) throws IOException { } JobEntryBaseJsonSerializer( Class<JobEntryBase> aClass );  JobEntryBaseJsonSerializer( JavaType javaType );  JobEntryBaseJsonSerializer( Class<?> aClass, boolean b );   }### Answer:
@Test public void testSerialize() throws Exception { JobEntryBaseJsonSerializer spySerializer = spy( serializer ); spySerializer.serialize( meta, json, provider ); verify( json ).writeStartObject(); verify( spySerializer ).writeBasicInfo( meta, json ); verify( spySerializer ).writeExternalResources( meta, json, provider ); verify( spySerializer ).writeRepoAttributes( meta, json ); verify( spySerializer ).writeCustom( meta, json, provider ); verify( json ).writeEndObject(); }